package my.sample.junk;

import java.math.BigDecimal;
import java.math.BigInteger;
import java.math.RoundingMode;

public class BigDecimalTest {


	/**
	 * @param args
	 */
	public static void main(String[] args) {
		
	
		Object val = new BigInteger("4294967299"); 
		BigDecimal rawValue = new BigDecimal((BigInteger) val );
		System.out.println(rawValue);
		
		
				rawValue = rawValue.setScale(2, RoundingMode.HALF_UP);
		System.out.println(rawValue);

	}
	// private static org.apache.log4j.Logger logger = org.apache.log4j.Logger.getLogger(BigDecimalTest.class);
}
